/* eslint-disable no-undef */
import Vue from 'vue'
import VueRouter from 'vue-router'
import Main from '../views/Main'
import Login from '../layout/login/Login'
// import HospitalApply from '../layout/admin/hospitalAdmin/HospitalApply'
// import Home from '../layout/Home'
// import HospitalManage from '../layout/admin/hospitalAdmin/HospitalManage'
// import Department from '../layout/hospital/Department'
// import DoctorManager from '../layout/hospital/DoctorManager'
// import Book from '../layout/user/Book'
// import BookDetail from '../layout/user/BookDetail'
// import DoctorBook from '../layout/doctor/DoctorBook'
// import DoctorIntroduce from '../layout/doctor/DoctorIntroduce'
// import HospitalHomeEdit from '../layout/hospital/HospitalHomeEdit'
// import FrontDeskOrder from '../layout/frontDesk/frontDeskOrder'
// import MedicalIntroduce from '../layout/admin/medical/MedicalIntroduce'
// import MedicalIntroduceAdd from '../layout/admin/medical/MedicalIntrodeAdd'
// import MedicalManage from '../layout/medicine/MedicalManage'
// import MedicalManageHistory from '../layout/medicine/MedicalManageHistory'
// import MedicalSell from '../layout/user/MedicalSell'
// import ShoppingCart from '../layout/user/ShoppingCart'
// import MedicalOrder from '../layout/user/MedicalOrder'
// import AddressManage from '../layout/user/AddressManage'
// import PlaceOrder from '../layout/user/PlaceOrder'
// import OrderManage from '../layout/medicine/OrderManage'
// import Booking from '../layout/doctor/Booking'
// import BookRecord from '../layout/doctor/BookRecord'
// import Prescription from '../layout/medicine/Prescription'
Vue.use(VueRouter)

const routes = [
  {
    path: '/login',
    component: Login,
    name: 'login',
    children: [
      // eslint-disable-next-line standard/object-curly-even-spacing
      { path: 'user', component: Main }
    ]
  }
]

const router = new VueRouter({
  routes
})

export default router
